package com.earl.gsm.domain.gsm.match;

import com.earl.gsm.commons.domain.AbstractAuditingEntity;
import com.fasterxml.jackson.annotation.JsonInclude;

import javax.persistence.Table;
import java.io.Serializable;

/**
 * 汽车信息实体类.
 * Created by Administrator on 2016/4/4.
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "applymatch")
public class ApplyMatch extends AbstractAuditingEntity<Long> implements Serializable {

    private Long userId;//用户id

    private String hostId;//主办方id

    private String responeId;//赞助方

    private String reason;//申请原因

    private Boolean pass;//是否通过申请

  
    public String getHostId() {
		return hostId;
	}

	public void setHostId(String hostId) {
		this.hostId = hostId;
	}

	public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getResponeId() {
        return responeId;
    }

    public void setResponeId(String responeId) {
        this.responeId = responeId;
    }

    public Boolean getPass() {
        return pass;
    }

    public void setPass(Boolean pass) {
        this.pass = pass;
    }
    
    public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	@Override
    public String toString() {
        return "ApplyTable{" +
                "hostId=" + hostId +
                ", reason='" + reason + '\'' +
                ", responeId='" + responeId + '\'' +
                ", pass=" + pass +
                '}';
    }
}
